﻿import com.gamemeal.mvc.*;
import com.gamemeal.mvc.datatype.*;
/**
 * @author colin
 * 
 */

class Model extends AbstractModel implements IModel{
	private static var ins:Model;
	public var dataField:MFString;
	public var dataField2:MFString;
	private var dataField3 : MFArray;

	private function Model(){
		//to initialize value.
		dataField=new MFString("hey");
		dataField2=new MFString("Hi");
		dataField3 = new MFArray(['alice','bob']);
	}

	public static function instance():Model{
		if(ins == null)ins = new Model();
		return ins;
	}

}